package com.dgut.epidemic.service;

import com.dgut.epidemic.pojo.Daily_data;
import com.dgut.epidemic.pojo.WeChatUser;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * Author: wuhaoduan
 * Date: 2021/6/12 18:36
 */
public interface UserMangerService {
    //获得所有WeChatUser信息
    List<WeChatUser> getAllWeChatUser();

    //获得所有WeChatUser今日是否打卡信息
    List<Integer> getAllWeChatUserSubmit(List<WeChatUser> weChatUsers);

    //获得分页后的数据
    List<WeChatUser> getWeChatUserAfter(List<WeChatUser> weChatUsers,int pageNum, int pageSize) throws Exception;

    //锁定用户
    void lockWeChatUser(String id);

    //解锁用户
    void unlockWeChatUser(String id);

    //获得某用户所有上报信息
    List<Daily_data> getALLDailyDataById(String id);

    List<Daily_data> getDailyDataAfter(List<Daily_data> daily_data, int pageNum, int pageSize) throws Exception;

    //按用户状态排序
    List<WeChatUser> getWeChatUserOrderStaus();

    //按用户类别排序
    List<WeChatUser> getWeChatUserOrderType();

    //按用户ID排序
    List<WeChatUser> getWeChatUserOrderID();

    //按今日是否打卡排序
    List<WeChatUser> getWeChatUserOrderToday();
}
